package com.yidu.hbatsams.service.TrainingPlan.zjj;

import com.yidu.hbatsams.domain.AtsPlanCurriculum;

import java.util.List;

/**
 * @program: hbats
 * @description
 * @author: 周佳佳
 * @create: 2019-12-11 10:04
 **/
public interface PlanCurriculumService {
    List<AtsPlanCurriculum> selectByDate(Integer coachId);
    void insertSelectiveFour(AtsPlanCurriculum planCurriculum, String[] numArr);
    List<AtsPlanCurriculum> selectCurricu(int weekId);
    AtsPlanCurriculum findById(int curriculumId);
    int selectWeekcount();
    AtsPlanCurriculum selectByIsvaTwo(Integer weekId);

    int updateZancunIsva(AtsPlanCurriculum atsPlanCurriculum);
    void updatePlancurricu(AtsPlanCurriculum atsPlanCurriculum, String[] numArr);
    /**
     * 根据周的id查询最大的课计划
     * @param weekId
     * @return
     */
    AtsPlanCurriculum selectMaxcurruculum(Integer weekId);
    /**
     * 修改是否有效
     *
     * @param atsPlanCurriculum
     * @return
     */
    int updateIsva(AtsPlanCurriculum atsPlanCurriculum);
    /**
     * 查询课计划名称是否存在
     * @return
     */
    int countFive(AtsPlanCurriculum atsPlanCurriculum);
}
